package com.hu.zhcc.shiro.dao;


import com.hu.zhcc.shiro.entity.Appointment.AReservation;

import java.util.List;

public interface AReservationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(AReservation record);

    int insertSelective(AReservation record);

    AReservation selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(AReservation record);

    int updateByPrimaryKey(AReservation record);

    List<AReservation> selectAReserAll(String value);

    List<AReservation> findAllAReserByPhoneNumber(String phone);

    AReservation beforeUpdateById(int id);

    int updateStateByid(int id);

    int updateConfirmByid(int id);

    List<AReservation> findStateByOne();
}